package com.dev.dream.libs.slidemenu.utils;

import java.util.Random;

public class MathuUntil {

	static Random random = new Random();

	public static int random(int from, int to) {
		return to - random.nextInt(to - from) - 1;
	}

	public static int randomAm(int from, int to) {
		if (random.nextBoolean()) {
			return random.nextInt(from) - to;
		}

		return to - random.nextInt(from);
	}
}
